<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Constants;

use App\Traits\EnumTrait;
use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

#[Constants]
enum AdRequestEventTypeEnum: int
{
    use EnumConstantsTrait, EnumTrait;

    #[Message("广告请求")]
    case REQUEST = 0;

    #[Message("广告填充")]
    case LOAD = 1;

    #[Message("广告曝光")]
    case SHOW = 2;

    #[Message("广告错误")]
    case ERROR = -1;

    #[Message("广告关闭")]
    case CLOSE = 3;

    #[Message("广告点击")]
    case CLICK = 4;

    #[Message("激励视频奖励回调")]
    case ON_REWARD = 5;
}
